<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<div class="navbar" id="navbar">
<script type="text/javascript">
    try{ace.settings.check('navbar' , 'fixed')}catch(e){}
</script>

<div class="navbar-inner">
<div class="container-fluid">
<a  class="brand">
    <small>
        <i class="icon-folder-open"></i>
        <s:text name="application_name" />
    </small>
</a><!-- /.brand -->

<div class="pull-right" style="padding-top: 12px;">
     <a href="javascript:execLogout()" style="color: #ffffff;">
         <i class="icon-off"></i>
         退出
     </a>
</div>

</ul><!-- /.ace-nav -->
<div class="pull-right" style="border-left: 1px solid #dddddd;height: 12px;width: 15px;margin-top: 16px;">&nbsp;</div>
<div class="pull-right" style="padding-top: 12px;color: #ffffff;padding-right: 15px;font-size: 15px;">
    欢迎:<%=userName%>，&nbsp;&nbsp;今天是
    <script>
        var weekDayLabels = new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六");
        var now = new Date();
        var year=now.getFullYear();
        var month=now.getMonth()+1;
        var day=now.getDate()
        var currentime = year+"年"+month+"月"+day+"日 "+weekDayLabels[now.getDay()]
        document.write(currentime)
    </script>
</div>

</div><!-- /.container-fluid -->
</div><!-- /.navbar-inner -->
</div>